package com.bupt.jack.dao;

import java.util.List;

import org.hibernate.criterion.DetachedCriteria;
import org.hibernate.criterion.Example;

import com.bupt.jack.model.GroupItem;

public interface GroupItemDao {
	
	public List<GroupItem> find(String hql);
	
	public List<GroupItem> find(Example example);
	
	public List<GroupItem> find(Example example,int firstResult,int maxResults);
	
	public List<GroupItem> find(DetachedCriteria detachedCriteria);
	
	public List<GroupItem> find(DetachedCriteria detachedCriteria,int firstResult,int maxResults);
}
